﻿<%@ include file = "/common/ini.jsp"%> 
<%@ include file = "/common/_log4j.jsp"%>
<%@ include file = "/common/_ApplicationContext_init.jsp"%>  
<%
    TeachResourceManager teachResourceManager = (TeachResourceManager)applicationContext.getBean("teachResourceManager");
    TeachResource tr = (TeachResource)teachResourceManager.get(request.getParameter("id"));
%>
<script>
    try
    {
        $('titleSpan').innerHTML = "<%= tr.getTitle()%>";
        $('publishCompanySpan').innerHTML = "<%= tr.getPublishCompany().getName()%>";
        $('authorNameSpan').innerHTML = "<%= tr.getAuthorName()%>";
    }
    catch(e)
    {
        alert(e);
    }
</script>
                